<?php

use Illuminate\Support\Facades\Route;

Route::group(['namespace' => 'User'], function () {
    Route::resource('/users', 'UserController');
    Route::post('/user-otps', 'UserOtpController@store');
    Route::delete('/user-otps', 'UserOtpController@destroy');

    //api
    Route::post('/users/logout-all', 'UserController@logoutAllUser');
    Route::post('/users/{user}/logout', 'UserController@logoutUser');
});
